import request from '@/utils/request'

// 查询考生特征信息列表
export function listCandidateFeature(query) {
  return request({
    url: '/chengkao/candidateFeature/list',
    method: 'get',
    params: query
  })
}

// 查询考生特征信息详细
export function getCandidateFeature(id) {
  return request({
    url: '/chengkao/candidateFeature/' + id,
    method: 'get'
  })
}

// 新增考生特征信息
export function addCandidateFeature(data) {
  return request({
    url: '/chengkao/candidateFeature',
    method: 'post',
    data: data
  })
}

// 修改考生特征信息
export function updateCandidateFeature(data) {
  return request({
    url: '/chengkao/candidateFeature',
    method: 'put',
    data: data
  })
}

// 删除考生特征信息
export function delCandidateFeature(id) {
  return request({
    url: '/chengkao/candidateFeature/' + id,
    method: 'delete'
  })
}
